<?php
require_once 'nrg/uiw/img.class.js';
?>


/**
 * Class for representing images with subtitle.
 */
var Nrg_Uiw_Icon = new Class({
	
	Implements: [Nrg_Uiw_Element],
	
	Theme: null,
	
	images: {},
	
	//--------------------------------------------------------------------------
	//--------------------------------------------------------------------------
	
	initialize: function(Theme, options)
	{
		if ( ! instanceOf() ) {
			
		}
		
		this.parent(options);
	},
	
	//--------------------------------------------------------------------------
	
	addImg: function(size, Img)
	{
		this.images[size] = Img;
		return this;
	},
	
	//--------------------------------------------------------------------------
	
	getImg: function(size)
	{
		return this.images[size];
	}
	
	//--------------------------------------------------------------------------
	
});